/**
 * 
 */
package com.designpattern.design.decorator.coffee;

/**
 * @author zhangyang
 *
 */
public class BlackCoffee  extends Coffee{

	public BlackCoffee(){
		super.setDesc("黑咖啡");
		super.setPrice(18f);
	}
	public BlackCoffee(String desc,float price) {
		/**
		 * 构造黑咖啡 将名字和单价传进去
		 */
		super.setDesc(desc);
		super.setPrice(price);
	}
}
